package service.Impl;

import dao.Impl.flowerDaoImpl;
import dao.flowerDao;
import entity.Flower;
import service.flowerService;

import java.util.List;

public class flowerServiceImpl implements flowerService{
    flowerDao flowerDao=new flowerDaoImpl();
    @Override
    public List<Flower> select() {
        return flowerDao.select();
    }

    @Override
    public int add(String name, String anothername, String property, double price, String production) {
        return flowerDao.add(name,anothername,property,price,production);
    }
}
